import java.io.Serializable;

public class Student implements Serializable {
	
   //Declare class variables
	private int id;
	private String name;
	private String course;
	private int year;
	private String schedule;
	private String classCode;

	//Constructs the Student with parameters i, n, c, y, s & cc
    public Student(int i, String n, String c, int y, String s, String cc) {
    	id = i;
    	name = n;
    	course = c;
    	year = y;
    	schedule = s;
    	classCode = cc;
    }

  
    public int getID() {
    	return id;
    }

    public String getName() {
    	return name;
    }

    public String getCourse() {
    	return course;
    }

    public int getYear() {
    	return year;
    }
    
    public String getClassCode() {
    	return classCode;
    }

    public String getSchedule() {
    	return schedule;
    }
    
 

    public void setID (int id) {
    	this.id = id;
    }

    public void setID (String id) {
    	this.id = Integer.parseInt(id);
    }

    public void setName(String n) {
    	name = n;
    }

    public void setCourse(String c) {
    	course = c;
    }

    public void setYear(int y) {
    	year = y;
    }

    public void setYear(String y) {
    	year = Integer.parseInt(y);
    }

	public void setClassCode(String cc) {
    	classCode = cc;
	}
	
    public void setSchedule(String s) {
    	schedule = s;
    }
    
    
}
